package com.hengpeng.msls.expresslogin.common;

import javax.servlet.http.HttpServletRequest;

import com.hengpeng.itfinbase.persist.MemberShare.UserType;
import com.hengpeng.msls.expresslogin.ExpressRequestService;

public class CommonRequestServiceImpl implements ExpressRequestService
{

	@Override
	public String buildRequest(HttpServletRequest request, UserType userType)
	{
//		Map<String, String> sParaTemp = new HashMap<String, String>();
//		String returnUrl = ExpressLoginUtils.createReturnUrl(request, userType);
//		String service = StoreConfigUtil.getStoreParameter(request, ExpressConstants.store_expresslogin_service);
//		String partner = StoreConfigUtil.getStoreParameter(request, ExpressConstants.store_expresslogin_partner);
//		String key = StoreConfigUtil.getStoreParameter(request, ExpressConstants.store_expresslogin_key);
//		String md5Str = SignatureHelper.generateMD5Signture(service + partner + key + returnUrl,
//				ExpressConstants.charset);
//		sParaTemp.put("service", service);
//		sParaTemp.put("partner", partner);
//		sParaTemp.put("charset", ExpressConstants.charset);
//		sParaTemp.put("sign", md5Str);
//		sParaTemp.put("return_url", returnUrl);
//		return ExpressLoginUtils.buildForm(sParaTemp,
//				StoreConfigUtil.getStoreParameter(request, ExpressConstants.store_expresslogin_url), "post", "submit");
		return null;
	}
}
